package hlhj.fhp.checkpoint.adp

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import hlhj.fhp.checkpoint.R
import hlhj.fhp.checkpoint.javaBean.ServentBean

/**
 * Created by Never Fear   on 2018\11\20 0020.
Never More....
 */
class ServentListAdp(private val datas:ArrayList<ServentBean.InfoBean>) :BaseQuickAdapter<ServentBean.InfoBean,BaseViewHolder>(R.layout.server_item,datas) {
    override fun convert(helper: BaseViewHolder?, item: ServentBean.InfoBean?) {
        helper?.setText(R.id.itemTv,"${item?.contact_type}  ${item?.contact_method}")

    }
}